home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1998 July
/
EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso
/
earcd
/
phase5
/
ppcrelease
/
examples
/
msg4ppc.elf.dump
< prev
next >
Wrap
Text File
|
1998-02-21
|
7KB
|
187 lines
Msg4PPC.elf: file format elf32-powerpc
Msg4PPC.elf
architecture: powerpc:common, flags 0x00000011:
HAS_RELOC, HAS_SYMS
start address 0x00000000
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 000001b4 00000000 00000000 00000034 2**2
CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
1 .rodata 0000001c 00000000 00000000 000001e8 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
2 .data 00000000 00000000 00000000 00000204 2**0
CONTENTS, ALLOC, LOAD, DATA
3 .bss 00000000 00000000 00000000 00000204 2**0
ALLOC
4 .comment 00000014 00000000 00000000 00000204 2**0
CONTENTS, READONLY
SYMBOL TABLE:
00000000 l d .text 00000000
00000000 l d *ABS* 00000000
00000000 l d .rodata 00000000
00000000 l d .data 00000000
00000000 l d .bss 00000000
00000000 l d .comment 00000000
00000000 l d *ABS* 00000000
00000000 l d *ABS* 00000000
00000000 l d *ABS* 00000000
00000000 l df *ABS* 00000000 Msg4PPC.c
00000000 l O .text 00000000 gcc2_compiled.
00000158 g F .text 0000005c printf
00000000 *UND* 00000000 PPCGetMessage
00000000 *UND* 00000000 PPCCreatePort
00000000 *UND* 00000000 PPCDeleteMessage
00000000 *UND* 00000000 PPCWaitPort
00000000 *UND* 00000000 PPCAllocVec
00000000 *UND* 00000000 PPCFreeVec
00000004 g F .text 00000150 main
00000000 *UND* 00000000 PPCDeletePort
00000004 O *COM* 00000004 MyFile
00000000 *UND* 00000000 PPCSendMessage
00000000 *UND* 00000000 PPCCreateMessage
00000000 *UND* 00000000 strlen
00000000 *UND* 00000000 PPCGetTaskAttr
00000000 *UND* 00000000 PPCWrite
Disassembly of section .text:
00000000 <gcc2_compiled.> .long 0x406c
main():
00000004 <main> stwu r1,-112(r1)
00000008 <main+4> mflr r0
0000000c <main+8> stw r26,88(r1)
00000010 <main+c> stw r27,92(r1)
00000014 <main+10> stw r28,96(r1)
00000018 <main+14> stw r29,100(r1)
0000001c <main+18> stw r30,104(r1)
00000020 <main+1c> stw r31,108(r1)
00000024 <main+20> stw r0,116(r1)
00000028 <main+24> lis r3,-32766
0000002c <main+28> ori r3,r3,22
00000030 <main+2c> bl 00000030 <main+2c>
RELOC: 00000030 R_PPC_REL24 PPCGetTaskAttr
00000034 <main+30> lwz r26,0(r3)
00000038 <main+34> cmpwi cr1,r26,0
0000003c <main+38> lwz r27,4(r3)
00000040 <main+3c> beq cr1,0000012c <main+128>
00000044 <main+40> li r3,28
00000048 <main+44> li r4,1
0000004c <main+48> bl 0000004c <main+48>
RELOC: 0000004c R_PPC_REL24 PPCAllocVec
00000050 <main+4c> mr. r30,r3
00000054 <main+50> beq 0000012c <main+128>
00000058 <main+54> li r0,0
0000005c <main+58> stw r0,8(r1)
00000060 <main+5c> addi r3,r1,8
00000064 <main+60> bl 00000064 <main+60>
RELOC: 00000064 R_PPC_REL24 PPCCreatePort
00000068 <main+64> mr. r29,r3
0000006c <main+68> beq 00000124 <main+120>
00000070 <main+6c> mr r3,r29
00000074 <main+70> li r4,28
00000078 <main+74> bl 00000078 <main+74>
RELOC: 00000078 R_PPC_REL24 PPCCreateMessage
0000007c <main+78> mr. r28,r3
00000080 <main+7c> beq 00000110 <main+10c>
00000084 <main+80> li r31,0
00000088 <main+84> lis r9,0
RELOC: 0000008a R_PPC_ADDR16_HA .rodata
0000008c <main+88> addi r11,r9,0
RELOC: 0000008e R_PPC_ADDR16_LO .rodata
00000090 <main+8c> cmplw cr1,r31,r27
00000094 <main+90> lwz r0,0(r9)
RELOC: 00000096 R_PPC_ADDR16_LO .rodata
00000098 <main+94> lwz r9,4(r11)
0000009c <main+98> lwz r10,8(r11)
000000a0 <main+9c> lwz r8,12(r11)
000000a4 <main+a0> stw r0,0(r30)
000000a8 <main+a4> stw r9,4(r30)
000000ac <main+a8> stw r10,8(r30)
000000b0 <main+ac> stw r8,12(r30)
000000b4 <main+b0> lwz r0,16(r11)
000000b8 <main+b4> lwz r9,20(r11)
000000bc <main+b8> lwz r11,24(r11)
000000c0 <main+bc> stw r0,16(r30)
000000c4 <main+c0> stw r9,20(r30)
000000c8 <main+c4> stw r11,24(r30)
000000cc <main+c8> bge cr1,00000108 <main+104>
000000d0 <main+cc> mr r3,r26
000000d4 <main+d0> mr r4,r28
000000d8 <main+d4> lis r7,4660
000000dc <main+d8> ori r7,r7,22136
000000e0 <main+dc> mr r5,r30
000000e4 <main+e0> li r6,28
000000e8 <main+e4> bl 000000e8 <main+e4>
RELOC: 000000e8 R_PPC_REL24 PPCSendMessage
000000ec <main+e8> mr r3,r29
000000f0 <main+ec> bl 000000f0 <main+ec>
RELOC: 000000f0 R_PPC_REL24 PPCWaitPort
000000f4 <main+f0> mr r3,r29
000000f8 <main+f4> bl 000000f8 <main+f4>
RELOC: 000000f8 R_PPC_REL24 PPCGetMessage
000000fc <main+f8> addi r31,r31,1
00000100 <main+fc> cmplw cr1,r31,r27
00000104 <main+100> blt cr1,000000d0 <main+cc>
00000108 <main+104> mr r3,r28
0000010c <main+108> bl 0000010c <main+108>
RELOC: 0000010c R_PPC_REL24 PPCDeleteMessage
00000110 <main+10c> mr r3,r29
00000114 <main+110> bl 00000114 <main+110>
RELOC: 00000114 R_PPC_REL24 PPCDeletePort
00000118 <main+114> extsh r3,r3
0000011c <main+118> cmpwi cr1,r3,0
00000120 <main+11c> beq cr1,00000110 <main+10c>
00000124 <main+120> mr r3,r30
00000128 <main+124> bl 00000128 <main+124>
RELOC: 00000128 R_PPC_REL24 PPCFreeVec
0000012c <main+128> lwz r0,116(r1)
00000130 <main+12c> mtlr r0
00000134 <main+130> lwz r26,88(r1)
00000138 <main+134> lwz r27,92(r1)
0000013c <main+138> lwz r28,96(r1)
00000140 <main+13c> lwz r29,100(r1)
00000144 <main+140> lwz r30,104(r1)
00000148 <main+144> lwz r31,108(r1)
0000014c <main+148> addi r1,r1,112
00000150 <main+14c> blr
00000154 <main+150> .long 0x404c
printf():
00000158 <printf> stwu r1,-32(r1)
0000015c <printf+4> mflr r0
00000160 <printf+8> stw r28,16(r1)
00000164 <printf+c> stw r29,20(r1)
00000168 <printf+10> stw r30,24(r1)
0000016c <printf+14> stw r31,28(r1)
00000170 <printf+18> stw r0,36(r1)
00000174 <printf+1c> mr r28,r3
00000178 <printf+20> lis r9,0
RELOC: 0000017a R_PPC_ADDR16_HA MyFile
0000017c <printf+24> lwz r29,0(r9)
RELOC: 0000017e R_PPC_ADDR16_LO MyFile
00000180 <printf+28> bl 00000180 <printf+28>
RELOC: 00000180 R_PPC_REL24 strlen
00000184 <printf+2c> mr r5,r3
00000188 <printf+30> mr r4,r28
0000018c <printf+34> mr r3,r29
00000190 <printf+38> bl 00000190 <printf+38>
RELOC: 00000190 R_PPC_REL24 PPCWrite
00000194 <printf+3c> lwz r0,36(r1)
00000198 <printf+40> mtlr r0
0000019c <printf+44> lwz r28,16(r1)
000001a0 <printf+48> lwz r29,20(r1)
000001a4 <printf+4c> lwz r30,24(r1)
000001a8 <printf+50> lwz r31,28(r1)
000001ac <printf+54> addi r1,r1,32
000001b0 <printf+58> blr
Disassembly of section .rodata:
00000000 <.rodata> rlwinm r5,r3,15,1,26
00000004 <.rodata+4> subfic r3,r19,25966
00000008 <.rodata+8> andis. r0,r1,25209
0000000c <.rodata+c> subfic r2,r16,20547
00000010 <.rodata+10> subfic r3,r16,29295
00000014 <.rodata+14> ori r5,r27,29555
00000018 <.rodata+18> xoris r18,r27,2560
Disassembly of section .data: